﻿using B.S.AuthCenter.Domain;
using B.S.AuthCenter.Domain.Approval;
using B.S.AuthCenter.Domain.Form;
using Microsoft.EntityFrameworkCore;

namespace B.S.AuthCenter.InfrasIntructure
{
    public class AuthCenterDbContext : DbContext
    {
        public AuthCenterDbContext(DbContextOptions options) : base(options)
        {
        }
        public DbSet<UserModel> userModels { get; set; }
        public DbSet<LogModel> logModels { get; set; }
        public DbSet<RoleModel> roleModels { get; set; }
        public DbSet<UserRoleModel> userRoleModels { get; set; }
        public DbSet<MenuManageModel> menuManageModels { get; set; }
        public DbSet<RoleMenuModel> roleMenuModels { get; set; }
        public DbSet<AppFormModel> appFormModels { get; set; }
        public DbSet<ScheduleModel> scheduleModels { get; set; }
    }
}
